namespace FrameIdentityReq.Frames
{
    public class FrameTypeField : IntField, IFrameTypeField
    {
        public FrameTypeField(IBytesBuffer buffer, int index, string name)
            : base(buffer, index, 5, name) { }

        public FrameTypeField(IField field, string name)
            : base(field, 5, name) { }

        public new FrameTypeEnum Value
        {
            get { return (FrameTypeEnum)base.Value; }
            set { base.Value = (int)value; }
        }
    }
}